home *** CD-ROM | disk | FTP | other *** search
/ PC-Blue - MS DOS Public Domain Library / PC-Blue MS-DOS Public Domain Library - NYACC.iso / vol081 / help.dat < prev    next >
Encoding:
Text File  |  1987-01-14  |  16.4 KB  |  335 lines

  1. #C ASSIGN
  2. #F Routes requests to a different drive.                     Page 2-6
  3. #X ASSIGN [x=y [...]]
  4. #E ASSIGN A=C B=C      assigns all requests for drives A & B to C.
  5.    ASSIGN              restores all drive assignments to normal.
  6. #C BACKUP
  7. #F Backs Up Fixed Disk Files                                 Page 2-9
  8. #X BACKUP [d:][path]]filename][.ext] d:[/S][/M][/A][/D:mm-dd-yy]
  9.    /S - Files in all subdirectories will also be backed up
  10.    /M - Backup only those files that have changed since last backup
  11.    /A - Backup files to be added to the diskette in the specified drive
  12.    /D:mm-dd-yy - Backup on or after the specified date
  13. #E BACKUP C:\ A: /S    backs up all files on C to A.
  14. #C BASIC[A]
  15. #F Starts the basic interpreter (normal or advanced).
  16.    Optionally executes the program name given as a parameter.
  17. #X BASIC[A] [d:][program[.bas]]
  18. #E BASICA TEST   loads the BASIC interpreter and executs TEST.BAS.
  19. #C BATCH
  20. #F Executes Batch file                                       Page 2-13
  21. #X [d:filename[parameters]
  22. #C BREAK
  23. #F Checks for Control Break                                  Page 2-33
  24. #X BREAK [ON | OFF]
  25. #C CD
  26. #F Changes Current Directory - same as CHDIR                 Page 2-35
  27. #X CD [[d:[path]]
  28. #E CD \                change the current directory to the root directory.
  29.    CD \LEVEL1\LEVEL2   change the current drives directory to level2.
  30. #C CHDIR
  31. #F Changes Current Directory - same as CD                    Page 2-35
  32. #X CHDIR [[d:[path]]
  33. #E CHDIR \                     change the current directory to the root
  34.                                directory.
  35.    CHDIR \LEVEL1\LEVEL2        change the current drives directory to level2.
  36. #C CHKDSK
  37. #F Checks disk and reports status                            Page 2-38
  38. #X CHKDSK [d:][filename] [/F][/V]
  39.    /F - Will try to Fix errors in the File Allocation Table
  40.    /V - Will tell of progress in CHKDSK (Verbose)
  41. #E CHKDSK B: /F    checks drive B and fixes all allocation errors.
  42. #C CLS
  43. #F Clears CRT Screen                                         Page 2-42
  44. #C COMP
  45. #F Compares files                                            Page 2-44
  46. #X COMP [d:][path][filespec[.ext]] [d:][path][filename[.ext]]
  47. #E COMP A:JUNK B:JUNK   compares junk on drive A to junk on drive B.
  48.    COMP A:*.ASM C:             compares all files with the extension .ASM
  49.                                on drive A to the files with the same name on C.
  50.    COMP A:\LEVEL1 A:\LEVEL2    compares all files in subdirectory level1
  51.                                to the corresponding files in level2.
  52. #C COPY
  53. #F Copies files                                              Page 2-48
  54. #X COPY <filespec> [d:][path][filename[.ext]]
  55.    COPY [/A][/B][filespec][/A][/B] [filespec][/A][/B][/V]
  56.    /A - Treat as ASCII file.  When used with source file name copies
  57.         up to but not including the first Ctrl Z (EOF marker).
  58.         When used with target file name causes a Ctrl Z to be added as
  59.         the last character of the file.
  60.    /B - With source file name entire file based on directory size is copied.
  61.         With target file causes NO Ctrl Z to be added to the file.
  62.    /V - Verify that target sectors are written correctly.
  63. #E COPY A:HELP.DAT B:          copies help.dat to drive B.
  64.    COPY A:HELP.DAT TEMP        creates the file TEMP on the default drive and
  65.                                copies HELP.DAT into it.
  66.    COPY B:*.* C:               copies all files on B to C.
  67.    COPY A:FILE1+B:FILE2 C:FILE3        copies a:file1 and b:file2 into c:file3.
  68. #C CTTY
  69. #F Changes to an Auxiliary Console                           Page 2-61
  70. #X CTTY device-name
  71. #C DATE
  72. #F Set/Read the current date                                 Page 2-63
  73. #X DATE [mm-dd-yy]
  74. #C DEL
  75. #F DELete/Erase files from diskette                          Page 2-65
  76. #X   DEL [d:]<filespec> or
  77.      Erase [d:]<filespec>
  78. #E DEL B:*.BAS   deletes all files on B with the extension .BAS.
  79. #C DIR
  80. #F List filenames on diskette                                Page 2-66
  81. #X DIR [d:][<filename[.ext]>][/P][/W]
  82.        where /P will pause the screen when it is full
  83.        where /W will provide a wide display, 5 file names per line.
  84. #E DIR /P    displays all files on the current drive, pauses when screen
  85.             is full.
  86.    DIR B:*.LST   displays all files on B with extension .LST.
  87. #C DISKCOMP
  88. #F Compares diskettes                                        Page 2-73
  89. #X DISKCOMP [d:] [d:][/1][/8]
  90.    /1 - One side only. The default is 2 sides.
  91.    /8 - Eight Sector.  The default is 9 sectors.
  92. #E DISKCOMP A: B:    compares the double sided 9 sector diskettes in A & B.
  93. #C DISKCOPY
  94. #F Copies diskettes                                          Page 2-77
  95. #X DISKCOPY [d:] [d:][/1]
  96.    /1 - Copy one side only.
  97.    The first drive [d:] is the source drive (copy from).
  98.    The second drive [d:] is the target drive (copy to).
  99. #E DISKCOPY A: B:    copies the diskette in A to B.
  100. #C ECHO
  101. #F Inhibits Screen Display - Batch Command                   Page 2-20
  102. #X ECHO [ON|OFF|message]
  103.    ON  causes batch file commands to be displayed on the screen.  This
  104.        is the default setting.
  105.    OFF prevents further display of batch file commands except text
  106.        following the command ECHO.
  107. #E ECHO OFF                    stops the display of batch file commands.
  108.    ECHO  THIS IS A MESSAGE     displays THIS IS A MESSAGE on the screen
  109.                                even if echo is off.
  110. #C ERASE
  111. #F ERASE/Delete files from diskette                          Page 2-81
  112. #X   ERASE [d:]<filespec> or
  113.      DEL [d:]<filespec>
  114. #E ERASE B:*.BAS    deletes all files on B with the extension .BAS.
  115. #C EXE2BIN
  116. #F Converts some .EXE Files to .COM format                   Page 2-83
  117. #X EXE2BIN [d:][path]filename[.ext] [d:][path][filename][.ext]]
  118. #C FIND
  119. #F Searches Files for Strings of Text.                       Page 2-87
  120. #X FIND [/V][/C][/N]string[[d:][path]filename[.ext] ...]
  121.    /V - All Lines NOT containing string are displayed.
  122.    /C - Display a count of the number of matches in file.
  123.    /N - Display the relative line Number of eatch matching
  124.        line to be displayed before the line from the file.
  125. #E FIND "Fool's Paradise" BOOK1.TXT BOOK2.TXT BOOK3    outputs all lines
  126.        from book1.txt, book2.txt, and book3 (in that order) that contain
  127.        the string Fools Paradise.
  128.    DIR B: | FIND /V "DAT"      outputs the names of all files on B that
  129.                                do not contain the string DAT.
  130. #C FOR
  131. #F Iterative Execution of Commands - Batch command         Page 2-22
  132. #X FOR %%variable IN (set) DO command
  133. #E FOR %%X IN (*.PAS) DO COPY %%X B:    will copy all files with the
  134.                                         extension .PAS to drive B.
  135.    FOR %%a IN (FILE1 FILE2) DO DIR %%a  will list the directory information
  136.                                         for FILE1 and FILE2.
  137. #C FORMAT
  138. #F Formats a diskette                                        Page 2-89
  139. #X FORMAT [d:][/S][/1][/8][/V][/B]
  140.        where /S will put COMMAND.COM on the diskette.
  141.        where /1 formats the diskette as one-sided.
  142.        where /8 formats with eight sectors per track.
  143.        where /V Will allow a volume name to be entered.
  144.        where /B Leaves space on the disc for an operating system to
  145.                be installed with the SYS command.
  146.    *** WARNING ***  The format command destroys all files on the disk.
  147. #E FORMAT B:   formats the diskette in drive B.
  148. #C GOTO
  149. #F Transfers Control to the Line Following the Label         Page 2-23
  150.    Batch Command
  151. #X GOTO label
  152.         where label is a line in the batch file containing a label
  153.         that begins with a colon.
  154. #E GOTO ABORT   transfers control to the line following the label
  155.                 :ABORT in the batch file.
  156. #C GRAPHICS
  157. #F Loads the graphics screen print routine.                  Page 2-96
  158.    After this has been done the print screen key will work
  159.    when the display screen is in graphics mode.  You only need to
  160.    do this once each time the computer is turned on or reset.
  161. #E GRAPHICS    installs the graphics print routine.
  162. #C HELP
  163. #F Provides help with DOS commands
  164. #X HELP [command] or
  165.    HELP to display menu of commands
  166. #E HELP HELP   displays this screen.
  167. #C IF
  168. #F Conditional Execution of Commands - Batch Command         Page 2-24
  169. #X IF [NOT] condition command
  170.         where the condition parameter is one of the following:
  171.                 ERRORLEVEL number
  172.                 string1==string2
  173.                 EXIST filespec
  174. #E IF EXIST FILE1 GOTO ABC      transfers control to label :ABC if FILE1
  175.                                 exists on the default drive.
  176.    IF %1==Doug ECHO HI DOUG     displays the message HI DOUG on the screen
  177.                                 if parameter 1 was Doug.
  178.    MYPROG
  179.    IF ERRORLEVEL 2 GOTO ABORT   transfers control to label :ABORT if the
  180.                                 program MYPROG set the errorlevel to 2 or
  181.                                 more before terminating.
  182.    IF NOT EXIST FILE2 ECHO THE FILE DOES NOT EXIST      displays the message
  183.                                 if FILE2 does not exist on the default drive.
  184. #C MD
  185. #F Creates (Makes) a Subdirectory - Same as MKDIR.           Page 2-98
  186. #X MD [d:]path
  187. #E MD LEVEL1           creates subdirectory level1 under the current
  188.                        directory.
  189.    MD \LEVEL1\LEVEL2   creates subdirectory level2 under subdirectory
  190.                        level1 when the current directory is the root.
  191. #C MKDIR
  192. #F Creates (Makes) a Subdirectory - Same as MD               Page 2-98
  193. #X MKDIR [d:]path
  194. #E MKDIR LEVEL1                creates subdirectory level1 under the current
  195.                                directory.
  196.    MKDIR \LEVEL1\LEVEL2        creates subdirectory level2 under subdirectory
  197.                                level1 when the current directory is the root.
  198. #C MODE
  199. #F Set the mode of the printer , display or COM Port.        Page 2-100
  200. #X MODE [LPT#:][n][,[m][,P]]   (sets printer parameters)
  201.                # = 1, 2, or 3  (the printer number)
  202.                n = 80 or 132   (characters per line)
  203.                m = 6 or 8      (lines per inche)
  204.                P = continuous retry on time-out errors
  205.    MODE n or  MODE [n],m[,T]   (sets video display parameters)
  206.                n = 40, 80, BW40, BW80, CO40, CO80, or MONO
  207.                m = R or L      (shift the display right or left)
  208.                T   requests a test pattern to align the display.
  209.    MODE COMn:baud[,parity][,databits[,stopbits[,P]]]
  210.                n = asynchronous communications adapter number
  211.                P = continuous retry on time-out errors
  212.    MODE LPT#:=COMn             (directs printer output to serial port)
  213.                # = 1, 2, or 3  (the printer number)
  214.                n = asynchronous communications adapter number
  215. #C MORE
  216. #F Displays a screen-full of data at a time                  Page 2-107
  217. #X MORE <[filespec]
  218. #E MORE <FOO.DAT       displays the file FOO.DAT on the screen and pauses
  219.                        when the screen is full until a key is pressed.
  220. #C PATH
  221. #F Searches Directories for Commands or Batch Files          Page 2-108
  222. #X PATH [d:]path[[;[d:]path...]
  223. #E PATH C:\;A:\        search the root directory of drive C then the root
  224.                        directory of drive A for programs or batch files.
  225. #C PAUSE
  226. #F Provides a system wait - Batch Command                    Page 2-28
  227. #X PAUSE [remark]
  228. #E PAUSE THIS IS A MESSAGE     displays the message THIS IS A MESSAGE on the
  229.                                screen and waits for a key to be pressed.
  230. #C PRINT
  231. #F Queues and prints data files                              Page 2-110
  232. #X PRINT [[d:][filename[.ext]][/T][/C][/P] ...]
  233.    /T - Terminate mode - Stop printing and delete all file names from
  234.         the print queue.
  235.    /C - Cancel mode - The preceeding filename and all following filenames
  236.         are cancelled from the print queue.
  237.    /P - Print mode - The preceeding filename and all following filenames
  238.         are added to the print queue to be printed.
  239. #E PRINT FILE1 FILE2           adds file1 and file2 to the print queue.
  240.    PRINT FILE1/C FILE2 FILE3/P deletes file1 and file2 from the print queue
  241.                                and adds file3 to the print queue.
  242. #C PROMPT
  243. #F Sets New Prompt                                           Page 2-116
  244. #X PROMPT [prompt-text]
  245.    The following special strings may also be included in the prompt text.
  246.        $$ = the $ character            $t = the time
  247.        $d = the date                   $p = the current directory
  248.        $v = DOS version number         $n = the default drive letter
  249.        $g = the > character            $l = the < character
  250.        $b = the | character            $q = the = character
  251.        $h = backspace and erase        $e = the escape character
  252.             the previous character     $- = carriage return line feed
  253. #E PROMPT $n:          the default drive letter followed by a colon.
  254.    PROMPT $n:$p  $h    the default drive letter, a colon, the current
  255.                        directory, 2 spaces, and a backspace.
  256. #C RECOVER
  257. #F Recovers files on a damaged disk                          Page 2-119
  258. #X RECOVER [d:][path]filename[.ext]
  259.    or RECOVER d:
  260. #C REM
  261. #F Displays a remark - Batch Command                         Page 2-29
  262. #X REM [remark]
  263. #E REM Test Batch File          displays the message Test Batch File on the
  264.                                 screen if ECHO is on. (See ECHO command).
  265. #C RENAME
  266. #F Renames a file on a diskette                              Page 2-122
  267. #X REN[AME] <filespec>
  268. #E RENAME FILEAAA FILEBBB.XXX          changes the name of FILEAAA to
  269.                                        FILEBBB.XXX.
  270. #C RESTORE
  271. #F Restores diskette files to fixed disk                     Page 2-124
  272. #X RESTORE d: [d:][path][filename][.ext][/S][/P]
  273.    /S - Backed up files in all subdirectories will be restored
  274.    /P - Prompt before restoring files that have changed since backup
  275.    The files must have been saved to diskette with the BACKUP command.
  276. #E RESTORE A: C:*.DAT          restores all files with the extension .DAT
  277.                                that were backed up from the current directory.
  278. #C RD
  279. #F Removes a subdirectory - same as RMDIR                    Page 2-127
  280. #X RD [d:]path
  281. #E RD B:\LEVEL2\LEVEL3         removes the subdirectory LEVEL3 from LEVEL2.
  282. #C RMDIR
  283. #F Removes a subdirectory - same as RD                       Page 2-127
  284. #X RMDIR [d:]path
  285. #E RMDIR B:\LEVEL2\LEVEL3              removes the subdirectory LEVEL3 from
  286.                                        LEVEL2.
  287. #C SET
  288. #F Inserts Strings into the Command Processor's Environment     Page 2-128
  289. #X SET [name=[parameter]]
  290.  
  291. #C SHIFT
  292. #F Shifts command line parameters left - Batch Command       Page 2-30
  293. #X SHIFT
  294.         Allows use of more than 10 parameters on batch command lines.
  295.         Also allows use of succesive parameters in a loop in a batch file.
  296. #E If the file TEST.BAT is invoked with the command TEST A B C and contains
  297.    the commands:        SHIFT
  298.                         ECHO %1
  299.                         SHIFT
  300.                         ECHO %1
  301.    the first echo command will display B and the second will display C.
  302. #C SORT
  303. #F Sorts Text Data                                           Page 2-131
  304. #X SORT [/R][/+n]
  305.    /R - Reverse order sort
  306.    /+n - Start the sort on column n
  307. #E SORT /R <UNSORT.TXT >SORT.TXT       reads the file UNSORT.TXT, sorts the
  308.                                        records, and writes them to SORT.TXT.
  309.    DIR | SORT /+14                     produce a directory listing sorted
  310.                                        by file size (size starts in column14.
  311. #C SYS
  312. #F Transfers the DOS System to a disk                        Page 2-133
  313. #X SYS d:
  314. #C TIME
  315. #F Set/Read the time                                         Page 2-134
  316. #X TIME [hh:mm:ss.xx]
  317. #C TREE
  318. #F Displays all directory paths                              Page 2-136
  319. #X TREE [d:][/F]
  320.    /F - Display the names of all files in each path
  321. #C TYPE
  322. #F Display a ASCII file on the screen                        Page 2-139
  323. #X TYPE <filespec>
  324. #E TYPE a:\help\help.dat
  325. #C VER
  326. #F Displays DOS Version Number                               Page 2-141
  327. #C VERIFY
  328. #F Verifies Data                                             Page 2-142
  329. #X VERIFY [ON|OFF]
  330. #C VOL
  331. #F Displays Volume Identification                            Page 2-144
  332. #X VOL [d:]
  333. me Identification                            Page 2-144
  334. #X VOL [d:]
  335.